package com.cloudptt.api.product;

import com.cloudptt.api.comm.CheckData;

public class ProductConst {
	
//	public static final int TerminalType_Sys = 0;
	public static final int ProductType_PAPP = 1;
	public static final int ProductType_XAPP = 2;
	public static final int ProductType_NAPP = 3;
	public static final int ProductType_NAPP_RADIO = 4;
	
	public static final int Func_Sys = 0;
	public static final int Func_Media = 1;
	public static final int Func_Addr = 2;
	protected static final int Func_Call = 3;
//	public static final int Func_PrivacyCall = 4;
	public static final int Func_Msg = 5;
	public static final int Func_Local = 6;
	protected static final int Func_VoiceReport = 7;
	protected static final int Func_BT = 8;
	public static final int Func_Count = 9;
	public static final int Func_MustCount = 3;
	
	public static final int Func_SysMsg = 11;

	public static final int Product_Must = CheckData.pow2(Func_Sys)
			+ CheckData.pow2(Func_Media) + CheckData.pow2(Func_Addr);

	public static final int Product_All = Product_Must
			+ CheckData.pow2(Func_Call)
			+ CheckData.pow2(Func_Msg) + CheckData.pow2(Func_Local)
			+ CheckData.pow2(Func_VoiceReport) + CheckData.pow2(Func_BT);
	public static final int Product_Simple = Product_Must
			+ CheckData.pow2(Func_Call)
			+ CheckData.pow2(Func_Msg) + CheckData.pow2(Func_Local)
			+ CheckData.pow2(Func_VoiceReport) + CheckData.pow2(Func_BT);
}
